package map;

import tools.Coordinate;

public class Room {

	private Coordinate coord;
	private int width;
	private int height;
	private boolean isConnected;
	private int connectionCount;
	
	public Room (Coordinate coord, int width, int height)  {
		isConnected = false;
		this.coord = coord;
		this.width = width;
		this.height = height;
		this.connectionCount = 0;
	}

	public Coordinate getCoord() {
		return coord;
	}

	public void setCoord(Coordinate coord) {
		this.coord = coord;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public boolean isConnected() {
		return isConnected;
	}

	public void setConnected(boolean isConnected) {
		this.isConnected = isConnected;
	}

	public int getConnectionCount() {
		return connectionCount;
	}

	public void setConnectionCount(int connectionCount) {
		this.connectionCount = connectionCount;
	}
	
	
	
}
